<!DOCTYPE html>
<html>
  <!-- Html Head Tag-->
  <head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="大懒腰">
  <!-- Open Graph Data -->
  <meta property="og:title" content="you-get下载各大网站视频教程">
  <meta property="og:description" content="大懒腰的技术博客">
  <meta property="og:site_name" content="大懒腰&#39;s blogs">
  <meta property="og:type" content="article">
  <meta property="og:image" content="http://joinjold.gitee.io/blog">
  
    <link rel="alternate" href="/atom.xml" title="大懒腰&#39;s blogs" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  

  <!-- Site Title -->
  <title>大懒腰's blogs</title>

  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="/blog/css/bootstrap.min.css">
  <!-- Custom CSS -->
  
  <link rel="stylesheet" href="/blog/css/style.light.css">

  <!-- Google Analytics -->
  

</head>

  <body>
    <!-- Page Header -->


<header class="site-header header-background" style="background-image: url(/blog//img/default-banner-dark.jpg)">
  <div class="container">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <div class="page-title with-background-image">
          <p class="title">you-get下载各大网站视频教程</p>
          <p class="subtitle"></p>
        </div>
        <div class="site-menu with-background-image">
          <ul>
            
              <li>
                <a href="/blog/">
                  
                  主页
                  
                </a>
              </li>
            
              <li>
                <a href="/blog/archives">
                  
                  标签
                  
                </a>
              </li>
            
              <li>
                <a href="https://github.com/<your-github-username>">
                  
                  Github
                  
                </a>
              </li>
            
              <li>
                <a href="mailto:<your-email-address>">
                  
                  邮箱
                  
                </a>
              </li>
            
          </ul>
        </div>
      </div>
    </div>
  </div>
</header>

<article>
  <div class="container typo">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <div class="post-info text-muted">
          
            <!-- Author -->
            <span class="author info">By 大懒腰</span>
          
          <!-- Date -->
          <span class="date-time info">On
            <span class="date">2019-02-13</span>
            <span class="time">12:52:52</span>
          </span>
          
        </div>
        <!-- Tags -->
        
        <!-- Post Main Content -->
        <div class="post-content">
          <p>源码来源：<a href="https://github.com/soimort/you-get" target="_blank" rel="noopener">https://github.com/soimort/you-get</a></p>
<h1 id="安装：python3"><a href="#安装：python3" class="headerlink" title="安装：python3"></a>安装：python3</h1><p> 首先需要本地安装python3环境</p>
<p> 下载地址：<a href="https://www.python.org/downloads/" target="_blank" rel="noopener">https://www.python.org/downloads/</a></p>
<p> 安装直接下一步就ok</p>
<h2 id="安装you-get"><a href="#安装you-get" class="headerlink" title="安装you-get"></a>安装you-get</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">pip3 install you-get</span><br></pre></td></tr></table></figure>
<p> 在cmd界面直接输入you-get确认是否安装成功</p>
<h2 id="使用you-get"><a href="#使用you-get" class="headerlink" title="使用you-get"></a>使用you-get</h2><p> 这里使用到一个参数，更多参数后面会加入</p>
<p> you-get -i [URL]<br> 例：<code>you-get -i https://www.bilibili.com/bangumi/play/ep260854/</code></p>
<p> 即可查看当前页面视频文件可以下载的清晰度选择</p>
<p> site:                Bilibili<br> title:               少年歌行：第7话 无心无禅<br> streams:             # Available quality and codecs<br>     [ DEFAULT ] <strong><strong><strong><strong><strong><strong><strong><strong>_</strong></strong></strong></strong></strong></strong></strong></strong></p>
<pre><code>- format:        flv
  container:     flv
  size:          152.9 MiB (160343481 bytes)
# download-with: you-get --format=flv [URL]
</code></pre><p> 下载：</p>
<p> 直接使用命令： <code>you-get https://www.bilibili.com/bangumi/play/ep260854/</code></p>
<h3 id="WINDOWS-使用教程"><a href="#WINDOWS-使用教程" class="headerlink" title="WINDOWS 使用教程"></a>WINDOWS 使用教程</h3><p> 这里我们可以使用bat批处理，我个人写了一个简单的脚本</p>
<blockquote>
<p> set /p a=请输入要下载视频的地址：</p>
<p> echo %a%  </p>
<p> you-get %a%</p>
<p> pause</p>
</blockquote>
<p> 直接复制粘贴到文本改后缀为.bat 即可使用<br> 好了教程到此结束</p>

        </div>
      </div>
    </div>
  </div>
</article>



    <!-- Footer -->
<footer>
  <div class="container">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <p class="copyright text-muted">
          Theme By <a target="_blank" href="https://github.com/levblanc">Levblanc.</a>
          Inspired By <a target="_blank" href="https://github.com/klugjo/hexo-theme-clean-blog">Clean Blog.</a>
        </p><p class="copyright text-muted">
          Powered By <a target="_blank" href="https://hexo.io/">Hexo.</a>
        </p>
      </div>
    </div>
  </div>
</footer>


    <!-- After Footer Scripts -->
<script src="/blog/js/highlight.pack.js"></script>
<script>
  document.addEventListener("DOMContentLoaded", function(event) {
    var codeBlocks = Array.prototype.slice.call(document.getElementsByTagName('pre'))
    codeBlocks.forEach(function(block, index) {
      hljs.highlightBlock(block);
    });
  });
</script>

  </body>
</html>

